package com.smart.druid.service.impl;

import com.smart.druid.entity.Member;
import com.smart.druid.mapper.MemberMapper;
import com.smart.druid.service.MemberService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * .............................................
 * When I wrote this, only God and I understood what I was doing
 * Now, God only knows
 * .............................................
 *
 * @ProjectName: spring-boot-example
 * @Package: com.smart.druid.service.impl
 * @ClassName: MemberServicImpl
 * @Description: 描述
 * @Author: zhangwei
 * @CreateDate: 2021/12/7 16:22
 * @UpdateUser: 更新者
 * @UpdateDate: 2021/12/7 16:22
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
@Service
public class MemberServiceImpl implements MemberService {
    @Resource
    private MemberMapper memberMapper;

    @Override
    public List<Member> list() {
        return memberMapper.selectList();
    }
}
